<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .outer {
            width: 200px;
            height: 200px;
            border: 2px solid black;
            margin: 0 auto;
            margin-top: 100px;
        }

        .inner {
            width: 200px;
            height: 200px;
            background-color: deepskyblue;
            /* transform-origin: left top; */
            /* transform-origin: 50px 50px; */
            /* transform-origin: 25% 25%; */
            /* transform-origin: left; */
            /* transform-origin: 50px; */
            /* transform-origin: top; */
            /* transform: rotate(0deg); */
            transform-origin: left top;
            transform: scale(.5);
        }

        .test {
            width: 50px;
            height: 100px;
            background-color: antiquewhite;
        }
    </style>
</head>

<body>
    <div class="outer">
        <div class="inner">
            <div class="test">大泽哥</div>
        </div>
    </div>
</body>

</html>